package dao.impl;

import db.JdbcTemplate;
import mapping.MappingFactory;

import java.sql.Connection;

public class BaseDao {
    public JdbcTemplate jdbcTemplate = JdbcTemplate.getInstance();
    public MappingFactory mappingFactory = MappingFactory.getInstance();

    public void setConnection(Connection connection) {
        jdbcTemplate.setConnection(connection);
    }
}
